package com.project.bean;

import java.time.LocalDate;

//班级表
public class ClassBean {
    /**
     * 班级id
     */
    private Integer id;
    /**
     * 班级名称
     */
    private String name;
    /**
     * 开班时间
     */
    private LocalDate time ;
    /**
     * 带班老师
     */
    private String teacher;

    public ClassBean() {
    }

    public ClassBean(String name, LocalDate time, String teacher) {
        this.name = name;
        this.time = time;
        this.teacher = teacher;
    }

    @Override
    public String toString() {
        return "ClassBean{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", time=" + time +
                ", teacher='" + teacher + '\'' +
                "\n";
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public LocalDate getTime() {
        return time;
    }

    public void setTime(LocalDate time) {
        this.time = time;
    }

    public String getTeacher() {
        return teacher;
    }

    public void setTeacher(String teacher) {
        this.teacher = teacher;
    }
}
